package com.sgc.view;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import com.architecture.view.PadraoManutencaoMB;
import com.sgv.model.entities.CategoriaModel;

@ManagedBean
@ViewScoped
public class CategoriaMB extends PadraoManutencaoMB<CategoriaModel> {

	@PostConstruct
	public void iniciarComponentes() {
		executarPesquisar();
	}
	
	@Override
	protected CategoriaModel getInstance() {
		return new CategoriaModel();
	}
}
